package cn.stylefeng.guns.modular.agv.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * AGV任务单
 * </p>
 *
 * @author zhangzh
 * @since 2024-05-14
 */
@TableName("task_gen_agv_hk")
public class TaskGenAgvHk implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户端编号
     */
    @TableField("client_code")
    private String clientCode;

    /**
     * 任务类型
     */
    @TableField("task_typ")
    private String taskTyp;

    /**
     * 容器类型
     */
    @TableField("ctnr_typ")
    private String ctnrTyp;

    /**
     * 开始位置编号
     */
    @TableField("src_position_code")
    private String srcPositionCode;

    /**
     * 开始位置类型
     */
    @TableField("src_position_type")
    private String srcPositionType;

    /**
     * 目标位置编号
     */
    @TableField("tar_position_code")
    private String tarPositionCode;

    /**
     * 目标位置类型
     */
    @TableField("tar_position_type")
    private String tarPositionType;

    /**
     * 优先级
     */
    @TableField("priority")
    private Integer priority;

    /**
     * 是否设置优先级
     */
    @TableField("set_priority")
    private String setPriority;

    /**
     * 状态
     */
    @TableField("stat")
    private String stat;

    /**
     * 请求编号
     */
    @TableField("req_code")
    private String reqCode;

    /**
     * 请求时间截
     */
    @TableField("req_time")
    private Date reqTime;

    /**
     * 任务单号
     */
    @TableField("task_no")
    private String taskNo;

    /**
     * 返回编码
     */
    @TableField("rsp_code")
    private String rspCode;

    /**
     * 返回消息
     */
    @TableField("rsp_msg")
    private String rspMsg;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getClientCode() {
        return clientCode;
    }

    public void setClientCode(String clientCode) {
        this.clientCode = clientCode;
    }

    public String getTaskTyp() {
        return taskTyp;
    }

    public void setTaskTyp(String taskTyp) {
        this.taskTyp = taskTyp;
    }

    public String getCtnrTyp() {
        return ctnrTyp;
    }

    public void setCtnrTyp(String ctnrTyp) {
        this.ctnrTyp = ctnrTyp;
    }

    public String getSrcPositionCode() {
        return srcPositionCode;
    }

    public void setSrcPositionCode(String srcPositionCode) {
        this.srcPositionCode = srcPositionCode;
    }

    public String getSrcPositionType() {
        return srcPositionType;
    }

    public void setSrcPositionType(String srcPositionType) {
        this.srcPositionType = srcPositionType;
    }

    public String getTarPositionCode() {
        return tarPositionCode;
    }

    public void setTarPositionCode(String tarPositionCode) {
        this.tarPositionCode = tarPositionCode;
    }

    public String getTarPositionType() {
        return tarPositionType;
    }

    public void setTarPositionType(String tarPositionType) {
        this.tarPositionType = tarPositionType;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public String getStat() {
        return stat;
    }

    public void setStat(String stat) {
        this.stat = stat;
    }

    public String getReqCode() {
        return reqCode;
    }

    public void setReqCode(String reqCode) {
        this.reqCode = reqCode;
    }

    public Date getReqTime() {
        return reqTime;
    }

    public void setReqTime(Date reqTime) {
        this.reqTime = reqTime;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public String getRspCode() {
        return rspCode;
    }

    public void setRspCode(String rspCode) {
        this.rspCode = rspCode;
    }

    public String getRspMsg() {
        return rspMsg;
    }

    public void setRspMsg(String rspMsg) {
        this.rspMsg = rspMsg;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public String getSetPriority() {
        return setPriority;
    }

    public void setSetPriority(String setPriority) {
        this.setPriority = setPriority;
    }

    @Override
    public String toString() {
        return "TaskGenAgvHk{" +
        "id=" + id +
        ", clientCode=" + clientCode +
        ", taskTyp=" + taskTyp +
        ", ctnrTyp=" + ctnrTyp +
        ", srcPositionCode=" + srcPositionCode +
        ", srcPositionType=" + srcPositionType +
        ", tarPositionCode=" + tarPositionCode +
        ", tarPositionType=" + tarPositionType +
        ", priority=" + priority +
        ", setPriority=" + setPriority +
        ", stat=" + stat +
        ", reqCode=" + reqCode +
        ", reqTime=" + reqTime +
        ", taskNo=" + taskNo +
        ", rspCode=" + rspCode +
        ", rspMsg=" + rspMsg +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        "}";
    }
}
